package com.ace3l.legal.gwt.homeportal.createstudent.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.*;
import com.ace3l.legal.gwt.domainmodule.client.Ace3LPageTemplate;
import com.synesthesiaconsulting.gwt.resources.client.DirectorUnit;
import com.synesthesiaconsulting.gwt.resources.client.GWTActionUnitFactory;

/**
 * Created by IntelliJ IDEA.
 * User: ageer
 * Date: Jul 24, 2008
 * Time: 4:38:53 PM
 * To change this template use File | Settings | File Templates.
 */
public class CreateStudent extends Ace3LPageTemplate {
    DirectorUnit bodyPanelDirector;

    public void init() {
        DirectorUnit d = director.addModule("homeportal.CreateStudent");
        bodyPanelDirector = d.addSubModule("bodyPanel");
        StudentSignUpWidget signUp = new StudentSignUpWidget(director);


        bodyPanelDirector.addAction("signUpForm", GWTActionUnitFactory.makeGWTNavigationUnit(signUp, true));
        bodyPanelDirector.applyActionTo("signUpForm",bodyPanel);
    }

}
